﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        //static void Main(string[] args)
        //{
        //    static void Main(string[] args)
        //    {
        //        Hero h1 = new Hero("埃洛克", "他是一名来自末日边境的勇士", "张三", 80, 60, 35, "英雄技能：" + " " + "碎石打击" + " " + "烈焰锚钩" + " " + "战斗咆哮");
        //        h1.Skill();
        //        Console.WriteLine();

        //        Hero h2 = new Hero("泰拉", "她是为复仇而来的勇者", "李四", 75, 65, 45, "英雄技能：" + " " + "巨浪冲击" + " " + "元素突击" + " " + "复仇杀戮");
        //        h2.Skill();
        //        Console.WriteLine();

        //        Hero h3 = new Hero("卢卡斯", "他是一名彬彬有礼的剑客", "王五", 85, 55, 65, "英雄技能：" + " " + "减速陷阱" + " " + "能量浪潮" + " " + "旋风剑舞");
        //        h3.Skill();
        //        Console.WriteLine();

        //        Hero h4 = new Hero("洛菲", "她是一名攻击迅猛的旅行者", "赵六", 80, 45, 75, "英雄技能：" + " " + "能量精灵" + " " + "暗影传送" + " " + "时空迸裂");
        //        h4.Skill();
        //        Console.WriteLine();
        //    }
            static void Main(string[] args)
            {
                Person student = new Person(111, "吴大壮", "男", 1145141919810, 123456789);
                student.Info();
                Console.WriteLine("专业：软件工程");
                Console.WriteLine("年级：2020级");
                Console.WriteLine();

                Person teacher = new Person(111, "吴老师", "男", 1145141919810, 123456789);
                teacher.Info();
                Console.WriteLine("职称：教师");
                Console.WriteLine("工资号：123456");
                Console.WriteLine();
            }
        }
    }

